﻿using System.Collections.Generic;
using System.Xml.Serialization;
using Yun.Response;

namespace Yun.Item.Response
{
    /// <summary>
    /// 获取商品的浏览记录
    /// </summary>
    [XmlRoot("get_item_browse_record_response")]
    public class GetItemBrowseRecordResponse : YunResponse, IPageResponse
    {
        /// <summary>
        /// 商品的浏览记录
        /// </summary>
        [XmlArray("item_browses")]
        [XmlArrayItem("item_browse")]
        public List<ItemBrowse> ItemBrowses { get; set; }

        /// <summary>
        /// 总数量
        /// </summary>
        [XmlElement("total_item")]
        public long TotalItem { get; set; }
    }
}
